package com.nbot.server.mapper.master;

import com.nbot.server.domain.KeyParameterMonthDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 重要参数每月归档汇总
 *
 * @author nbot
 * @email nbot@163.com
 * @date 2018-06-21 09:36:03
 */
@Mapper
public interface KeyParameterMonthMapper {

    KeyParameterMonthDO get(Long autoId);

    List<KeyParameterMonthDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(KeyParameterMonthDO keyParameterMonth);

    int update(KeyParameterMonthDO keyParameterMonth);

    int remove(Long autoId);

    int batchRemove(Long[] autoIds);

    int removeByYearMonth(@Param("yearMonth") String yearMonth);


}
